package com.ruifu.common.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruifu.common.eneity.BaseEntityPlus;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lcq
 * @create 2019/12/23
 */
@Data
@TableName("metering_units")
public class MeteringUnits extends BaseEntityPlus implements Serializable {

    private static final long serialVersionUID = 2359030927609259807L;
    /**
     *计量id
     */
    @TableId(value = "mu_id", type = IdType.AUTO)
    private Long muId;
    /**
     * 计量单位中文名称
     */
    @TableField(value = "mu_chinese_name")
    private String muChineseName;

    /**
     * 计量单位英文名称
     */
    @TableField(value = "mu_english_name")
    private String muEnglishName;

    /**
     * 是否基本单位
     */
    @TableField(value = "mu_is_basic_unit")
    private Boolean muIsBasicUnit;

    /**
     * 基本单位id
     */
    @TableField(value = "mu_basic_unit_id")
    private Long muBasicUnitId;

    /**
     * 基本单位倍数
     */
    @TableField(value = "mu_basic_unit_multiple")
    private Long muBasicUnitMultiple;
}

